package com.jumi.microservice.stock.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName JmStockLog
 * @Description 仓库库存变动记录实体
 * @Author Abel Yang
 * @Date 2020/8/24/024 9:51
 **/
@Data
@TableName(value = "stock_log", keepGlobalPrefix = true)
@ApiModel(value = "stock_log对象", description = "仓库库存变动记录")
public class StockLogDO implements Serializable {
    @ApiModelProperty(value = "仓库物料库存主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "")
    private Long materialId;
    @ApiModelProperty(value = "")
    private Long goodsId;
    @ApiModelProperty(value = "")
    private Long warehouseId;
    @ApiModelProperty(value = "")
    private Integer changeType;
    @ApiModelProperty(value = "")
    private Integer originNum;
    @ApiModelProperty(value = "")
    private Integer changeNum;
    @ApiModelProperty(value = "变动数量类型")
    private Byte changeQuantityType;
    @ApiModelProperty(value = "")
    private String changeBatchNo;
    @ApiModelProperty(value = "")
    private String changeReason;
    @ApiModelProperty(value = "")
    private String backup;
    @ApiModelProperty(value = "")
    private String createBy;
    @ApiModelProperty(value = "")
    private Date createTime;
    @ApiModelProperty(value = "")
    private Date updateTime;
    @ApiModelProperty(value = "")
    private String updateBy;
    @ApiModelProperty(value = "")
    private Boolean isDel;
    @ApiModelProperty(value = "占用日志类型")
    private Byte logTypes;
}
